package com.liuyucheng.idea_springboot.aop;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * 说明
 *
 * @author LiuYuCheng
 * @date 2023年06月30日 10:17
 */
//开启aop代理
@EnableAspectJAutoProxy
@Configuration
public class TestConfig {


    @Bean
    public Linux linux() {
        return new Linux();
    }

    @Bean
    public Sp sp() {
        return new Sp();
    }
}
